//
//  OverlaySrollView.m
//  TouchMeBaby
//
//  Created by 丁诚昊(831) on 15-6-9.
//  Copyright (c) 2015年 丁诚昊(831). All rights reserved.
//

#import "OverlaySrollView.h"

@implementation OverlaySrollView
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{
    UIView* selfView = [super hitTest:point withEvent:event];
    if (selfView == self /**当点击发生在滚动视图的父视图时 把点击事件传递给父类去处理*/) {
        return nil;
    }
    return selfView;
}
@end
